import { NetWorkConfig } from './network.config';
// import axios from 'axios';
const axios = require('axios');
// 搜索参数
//const BASE_URL = NetWorkConfig.BackendUrl + ':' + NetWorkConfig.BackendPort + '/data-engine';
const BASE_URL =''
export class DataEngineDetailDataSearchArgs{
  constructor() {
  }
}
export async function searchDataEngineDetailData(
  searchArgs = new DataEngineDetailDataSearchArgs()
) {
  try {
    const res = await axios({
      method: 'get',
      url: BASE_URL + '/data-detail',
      params: {
        ...searchArgs
      },
      withCredentials:false
    })
    return res;
  }
  catch (error) {
    console.error(error)
  }
}

